-
Notifications
You must be signed in to change notification settings - Fork 3
[WD-22062] Make non-webpage nodes unclickable and exclude partials #200
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
drive-by: modify findPage helper to conditionally return bool or page object
|
|
@petesfrench, thanks for the review.
We are not yet parsing markdown pages (like adguard for example). So for all intents and purposes, it's not considered a valid webpage at the moments. We will be adding support for markdown pages later, as request in this ticket.
Although there isn't a UX task for it, @eliman11 could you give us a quick suggestion on the visual hint for webpages which are not clickable and purely serve the purpose of fulfilling the path? For example, the breadcrumbs in ubuntu.com>appliance>adguard>intel-nuc, only ubuntu.com and appliance are clickable and act as links, and adguard is just text at the moment (the last part is always text and default, because it's the ending node) |
Hi, sorry if I'm missing something - is adguard not a page on our website (https://ubuntu.com/appliance/adguard)? Is there a reason why we don't have it on the content system? |
|
@eliman11 Adguard is indeed a page, and you can also find it on the content system. It's actually a markdown page (.md) and currently, when parsing page details like title, description etc., we are not parsing it for markdown pages (we will be soon though). There will be some pages in content system, that are not a webpage, but will just be intermediate paths for webpages. |
|
Got it! In case we have that, could we use the disabled base button state (here) - we don't have it as a variant of the breadcrumb but I think it indeed makes sense here. It's essentially the black default colour with 33% opacity. Could we also have the tooltip available on hover to clarify why this part of the path is disabled? Let me know if this works! |
|
@eliman11 Definitely! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
|
🎉 This PR is included in version 1.0.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |




Note: Revert this temporary QA change before merging
Done
findPagehelper to conditionally return bool or webpage objectQA
QA steps
In a separate terminal, run
In a separate terminal, start the celery worker
Fixes
Screenshots